package com.scfire.util;

import java.util.Map;

import com.scfire.weixin.WeiXinConstants;
import com.scfire.weixin.WeiXinService;


public class SendMessageThred implements Runnable {
	
	
	private Map<String, Object> toMessage;
    
    public SendMessageThred(Map toMessage) {
        this.toMessage = toMessage;
    }
	@Override
	public void run() {
		WeiXinService weiXinService = new WeiXinService();
		
		weiXinService.sendMassTemplateStatus(WeiXinConstants.service_id, (Map)toMessage.get("donateUsersOpenid"),(String)toMessage.get("detail"),(String)toMessage.get("date"),"结项报告", "成功", (String)toMessage.get("ClosingDetail"),(String)toMessage.get("url"));	
	}
}
